<?php /* Smarty version Smarty-3.1.21, created on 2015-06-01 14:19:02
         compiled from "D:\mywamp\www\2015php\wenda\Index\View\home\index.html" */ ?>
<?php /*%%SmartyHeaderCode:183205569c6f07ec817-65616409%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd299753aec59e10ef22747eff92adea7800f8ee9' => 
    array (
      0 => 'D:\\mywamp\\www\\2015php\\wenda\\Index\\View\\home\\index.html',
      1 => 1433139541,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '183205569c6f07ec817-65616409',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.21',
  'unifunc' => 'content_5569c6f0a5d8a0_31322517',
  'variables' => 
  array (
    'userinfo' => 0,
    'cnl' => 0,
    'myask' => 0,
    'v' => 0,
    'myanswer' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5569c6f0a5d8a0_31322517')) {function content_5569c6f0a5d8a0_31322517($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_substr')) include 'D:\\mywamp\\www\\2015php\\wenda\\Lwbphp\\Extend\\Org\\Smarty\\plugins\\modifier.substr.php';
if (!is_callable('smarty_modifier_date_format')) include 'D:\\mywamp\\www\\2015php\\wenda\\Lwbphp\\Extend\\Org\\Smarty\\plugins\\modifier.date_format.php';
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title><?php echo $_smarty_tpl->tpl_vars['userinfo']->value['username'];?>
的个人主页</title>
	<meta name="keywords" content="后盾问答"/>
	<meta name="description" content="后盾问答"/>
	<?php echo '<script'; ?>
>
		var UID = <?php if (isset($_GET['uid'])) {
echo $_GET['uid'];
} else { ?>1<?php }?>;
	<?php echo '</script'; ?>
>
	<?php echo $_smarty_tpl->getSubTemplate ("../Common/head.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

	<link rel="stylesheet" href="<?php echo @constant('__PUBLIC__');?>
/Css/member.css" />
	<?php echo '<script'; ?>
 type="text/javascript" src="<?php echo @constant('__PUBLIC__');?>
/Js/home.js"><?php echo '</script'; ?>
>
	<?php echo '<script'; ?>
	type="text/javascript" src="<?php echo @constant('__PUBLIC__');?>
/Js/homequesttab.js"><?php echo '</script'; ?>
>
<!--------------------中部-------------------->
	<div id='center'>
<!-- 左侧 -->
<?php echo $_smarty_tpl->getSubTemplate ("../Common/my_left.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<!-- 左侧结束 -->
		<div id='right'>
	
			<p class='title'>我的首页</p>

			<ul class='property'>
				<li>金币：<span><?php echo $_smarty_tpl->tpl_vars['userinfo']->value['point'];?>
</span></li>
				<li>经验值：<span><?php echo $_smarty_tpl->tpl_vars['userinfo']->value['exp'];?>
</span></li>
				<li>采纳率：<span><?php echo $_smarty_tpl->tpl_vars['cnl']->value;?>
</span></li>
			</ul>
			<div class='list'>
				<p><span>我的提问 <b>(共<?php echo count($_smarty_tpl->tpl_vars['myask']->value);?>
条)</b></span><a href="<?php echo @constant('__APP__');?>
?c=home&a=myask">更多>></a></p>
				<table>
						<?php if (count($_smarty_tpl->tpl_vars['myask']->value)==0) {?>
						<tr height='140'>
							<td>你还没有进行过提问 V_V</td>
						</tr>
						<?php } else { ?>
						<tr>
							<th class='t1'>标题</th>
							<th>回答数</th>
							<th class='t3'>更新时间</th>
						</tr>
						<?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['myask']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->_loop = true;
?>
						<tr>
							<td class='t1'>
								<a href="<?php echo @constant('__APP__');?>
?c=show&asid=<?php echo $_smarty_tpl->tpl_vars['v']->value['asid'];?>
"><?php echo smarty_modifier_substr($_smarty_tpl->tpl_vars['v']->value['content'],45);?>
</a><span>[ <?php echo $_smarty_tpl->tpl_vars['v']->value['title'];?>
 ]</span>
							</td>
							<td><?php echo $_smarty_tpl->tpl_vars['v']->value['answer'];?>
</td>
							<td class='t3'><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['v']->value['time'],"%Y-%m-%d");?>
</td>
						</tr>
						<?php } ?>
						<?php }?>
				</table>
			</div>
			<div class='list'>
				<p><span>我的回答 <b>(共<?php echo count($_smarty_tpl->tpl_vars['myanswer']->value);?>
条)</b></span><a href="">更多>></a></p>
				<table>
					<?php if (count($_smarty_tpl->tpl_vars['myanswer']->value)==0) {?>
					<tr height='140'>
						<td>你还没有进行过提问 V_V</td>
					</tr>
					<?php } else { ?>
					<tr>
						<th class='t1'>标题</th>
						<th>回答</th>
						<th class='t3'>更新时间</th>
					</tr>
						
							<?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['v']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['myanswer']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->_loop = true;
?>
							<tr>
								<td class='t1'>
									<a href="<?php echo @constant('__APP__');?>
?c=show&asid=<?php echo $_smarty_tpl->tpl_vars['v']->value['asid'];?>
"><?php echo smarty_modifier_substr($_smarty_tpl->tpl_vars['v']->value['content'],45);?>
</a><span>[ <?php echo $_smarty_tpl->tpl_vars['v']->value['title'];?>
 ]</span>
								</td>
								<td><?php echo $_smarty_tpl->tpl_vars['v']->value['answer'];?>
</td>
								<td class='t3'><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['v']->value['time'],"%Y-%m-%d");?>
</td>
							</tr>
							<?php } ?>
					<?php }?>
				</table>
			</div>
		</div>
	</div>
<!--------------------中部结束-------------------->

<!--------------------底部-------------------->
<!-- 底部 -->
	<?php echo $_smarty_tpl->getSubTemplate ("../Common/foot.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>

<!--[if IE 6]>
    <?php echo '<script'; ?>
 type="text/javascript" src="./Js/iepng.js"><?php echo '</script'; ?>
>
    <?php echo '<script'; ?>
 type="text/javascript">
    	DD_belatedPNG.fix('.logo','background');
        DD_belatedPNG.fix('.nav-sel a','background');
        DD_belatedPNG.fix('.ask-cate i','background');
    <?php echo '</script'; ?>
>
<![endif]-->
</body>
</html>
<!-- 底部结束 --><?php }} ?>
